package cn.seecoder.ai.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;

/**
 * @author DingXiaoyu
 * @date 2023/4/13 15:55
 */
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AnalysisFunctionEnum {

    DATA_DISTRIBUTION("DATA_DISTRIBUTION","数据分布","需要传入int,double,string的单个字段"),
    SCATTER_PLOT("SCATTER_PLOT","散点图","需要传入int或者double的两个字段"),
    STATISTICS("STATISTICS","数据统计","需要传入int或者double的单个字段"),
    SKEWNESS_KURTOSIS("SKEWNESS_KURTOSIS","偏度-峰度","需要传入int或者double的单个字段"),
    PEARSON("PEARSON","皮尔森相关系数","需要传入int或者double的两个字段");

    private final String self;
    private final String analysisTypeName;
    private final String description;

    AnalysisFunctionEnum(String self, String analysisTypeName, String description) {
        this.self = self;
        this.analysisTypeName = analysisTypeName;
        this.description = description;
    }
}
